module GroupsHelper
  def current_group_users
    group = current_group
    group ? group.users : []
  end

  def group_member_ids
    @ids ||= []
    current_group_users.each do |user|
      @ids << user.id
    end
    Rails.logger.debug "ids = #{ids}"
    return @ids
  end
end
